Write a Cookie Cookies allow you to store the value of a variable temporarily on the viewer's hard disk. This function enables you to make viewer-customizable pages, because it allows the viewer to change the properties of the browser window and reload their own personalized version of the page later on. To set up a Write Cookie action: 1 Drag the Head Action icon from the Smart tab of the Objects palette into the head section of the page. 2 In the Action Inspector, choose Write Cookie from the Variables submenu of the Action menu. 3 Enter a name for the cookie in the Name text box. This name will be used when the Write Cookie action sets the cookie at runtime. 4 In the Expires After text box, enter an expiration date (in hours) to determine how long the cookie will last after it has been set. 5 Set optional attributes: For more detailed information on the optional Path, Domain, and Secure attributes, please refer to the Web page at http://home.netscape.com/newsref/std/cookie_spec.html. Using Actions > Using Adobe GoLive actions > Write a Cookie |